package com.wc.AlgoOJ_train.train1.c0.A001;

import java.util.Arrays;
import java.util.Scanner;

/**
 * @Author congege
 * @Description ASCII码排序
 * http://43.138.190.70:8888/p/A001
 * @Date Created in 2023/12/24-21:13
 */
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while (sc.hasNext()) {
            String s = sc.next();
            char[] chs = s.toCharArray();
            Arrays.sort(chs);
            System.out.print(chs[0]);
            for (int i = 1; i < chs.length; i++) {
                System.out.print(" " + chs[i]);
            }
            System.out.println();
        }
    }
}
